broadway: Mark deprecated function call
authorBenjamin Otte <otte@redhat.com>
Mon, 1 Apr 2013 13:38:19 +0000 (15:38 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 2 Apr 2013 09:45:44 +0000 (11:45 +0200)
... to avoid gcc warning us. Ideally, we'd not call a deprecated
function here, but I'm lazy.

gdk/broadway/gdkwindow-broadway.c

index d59fcb7f7c8e8317d1fcc82c39dc8241afeb4fa6..103f09187b852d05b8e20dfa527f76fc6c94442d 100644 (file)
@@ -1274,6 +1274,7 @@ create_moveresize_window (MoveResizeData *mv_resize,
 
   gdk_window_show (mv_resize->moveresize_emulation_window);
 
+  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
   status = gdk_pointer_grab (mv_resize->moveresize_emulation_window,
                             FALSE,
                             GDK_BUTTON_RELEASE_MASK |
@@ -1281,6 +1282,7 @@ create_moveresize_window (MoveResizeData *mv_resize,
                             NULL,
                             NULL,
                             timestamp);
+  G_GNUC_END_IGNORE_DEPRECATIONS;
 
   if (status != GDK_GRAB_SUCCESS)
     {